<!DOCTYPE html>
<html lang="zh-CN">
<style>
    body {
        font-family: Arial, sans-serif;
			text-align: center;
			margin-top: 50px;
			background-image: url('http://hbimg.huaban.com/2de61f00bca7f42f1c33717b4b7d3cada02703af14241a-5mRAbP');
			background-size: cover;
			background-attachment: fixed;
			background-repeat: no-repeat;
			background-position: center center;
    }
    h1 {
        color: rgb(243, 157, 204);
        font-size: 36px;
        margin-bottom: 30px;
    }
    label {
        color: rgb(223, 114, 114);
        font-size: 24px;
        margin-bottom: 10px;
    }
    form {
        background-color: rgba(255, 0.8);
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 50px;
    }
    input[type=submit] {
        background-color: rgb(243, 157, 204);
        color: white;
        padding: 14px 20px;
        margin: 8px 0;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }
    input[type=text], input[type=password]
     {
        width: 300px;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        border-radius: 4px;
        font-size: 16px;
    }
</style>
<head>
    <title>AP Configuration</title>
</head>

<body>
    <center>
    <h1>添加网络配置</h1>
    <form method='POST' action='/updateAP'>
        <label for='ssid'>SSID:</label><br>
        <input type='text' id='ssid' name='ssid' required><br>
        <label for='password'>Password:</label><br>
        <input type='password' id='password' name='password' required><br>
        <label for='ip'>IP Address:</label><br>
        <input type='text' id='ip' name='ip' placeholder='192.168.1.x' required><br>
        <input type='submit' value='确认'>
    </form>
</body>
</center>
</html>
